/**
 * Created by ss on 16/4/19.
 */
module.exports = {
    init: function(data){
        return {
            code: 1,
            data: data || {},
            errorInfo: "成功"
        }
    },
    error: function(errorInfo){
        return {
            code: 0,
            data: {},
            errorInfo: errorInfo || "错误"
        }
    }
}
